package com.yuanfeng.activity.controller;

import com.yuanfeng.commoms.util.ResponseResult;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @ClassName ActivityUserShareGetRedpacketPersonController
 * @Description
 * @Author hyq
 * @Date 2023/7/11 11:05
 * @Version 1.0
 **/
@RestController
@RequestMapping("activity/userShare/getRedpacket")
public class ActivityUserShareGetRedpacketPersonController extends BaseController{

    /**
     * 查询用户邀请人数列表
     *
     * @return
     */
    @PostMapping("/query/list")
    public ResponseResult queryUserInvitePersonList(@RequestBody Map<String, Object> param) {
        ResponseResult result = activityUserShareGetRedpacketPersonService.queryUserInvitePersonList(param);
        return result;
    }
}
